<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8" />
<title>Universal Selector (*)</title>
<meta name="description" content="CSS3参考手册之: 通配选择符(*)" />
<meta name="keywords" content="通配选择符, css3选择符, css3, css3参考手册" />
<meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" />
<meta name="robots" content="all" />
<!--[if lte IE 8]>
<script src="../../js/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="../../skin/article.css" />
<link rel="stylesheet" href="../../bg.css" />
<style type="text/css" media="screen">
	#hd span{
		font-size: 25px;
		color:#0382ad;
		font-weight: 700;
		line-height: 26px;
	}
	
</style>
</head>
<body>
<nav id="guide" class="g-mod">
	<div class="from">
		<a href="http://css.doyoe.com/" target="_blank">CSS3参考手册</a>
		<span>&#187;</span>
		<a href="../index.htm">晗安笔记</a>
		<span>&#187;</span>
		<a href="index.htm" id="category" rel="hanan/css" name="opacity">晗安css</a>
		<span>&#187;</span>
	</div>
	<div class="to">
		<span class="label">相关内容：</span>
		<div class="g-combobox g-transition">
			<a href="?" class="g-transition target">
				<strong>其它元素选择符参考</strong>
				<span>选择其它项<!--[if lte IE 7]><ins>IE7 and earlier, Get to die</ins><![endif]--></span>
			</a>
			<div class="g-transition list">
				<ul>
					<!-- 插入分类快速导航 -->
				</ul>
			</div>
		</div>
	</div>
</nav>
<header id="hd">
<span>透明度 opacity</span>
<!-- 	<section id="title" class="g-mod">
		<h1 class="tit">标签</h1>
		<ul class="info">
			<li><strong>版本：CSS2</strong></li>
		</ul>
		插入浏览器信息
	</section> -->
</header>
<section id="bd">
	<section id="syntax" class="g-mod g-attr">
		<h2 class="tit">语法：</h2>
		<div class="cont">
		<!-- 在P标签内放标签语法代码 -->
			<p style="background: #272822;color:#ffffff">
                 <span style="color: #75715e">/*透明度*/</span><br>
        <span style="color: #66d9ef">opacity</span><span style="color: #f92672">:</span> <span style="color: #ae81ff">0</span><span style="color: #f92672">.</span><span style="color: #ae81ff">8</span><span style="color: #f8f8f2">;</span>&nbsp;&nbsp;&nbsp;<span style="color: #75715e">  /*所有浏览器*/</span><br>
        <span style="color: #66d9ef">filter</span><span style="color: #f92672">:</span> <span style="color: #f8f8f2">alpha(</span><span style="color: #66d9ef">opacity</span><span style="color: #f92672">=</span><span style="color: #ae81ff">80</span><span style="color: #f8f8f2">);</span>&nbsp;&nbsp;&nbsp;<span style="color: #75715e">/*IE8以及更早浏览器*/</span>
        	</p>
		</div>
	</section>
	<section id="intro" class="g-mod g-attr">
		<h2 class="tit">说明：</h2>
		<div class="cont">
			<!-- <strong>选定所有对象。</strong> -->
			<ul>
				
			</ul>
		</div>
	</section>

	<section id="example" class="g-mod g-attr">
		<h2 class="tit">示例：</h2>
		<div class="cont">
		<!-- textarea标签内放运行的代码 -->
			<textarea cols="90" rows="20">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>代码测试</title>
<style type="text/css">
	#box{
		width: 500px;
		height: 50px;
		background: green;
		position: absolute;
		top: 0;
		left: 0;
	
		/*透明度*/
		opacity: 0.8;
		filter: alpha(opacity=80);
	}
	#box2{
		height:50px;
		position:absolute;
		top:100px;
		background-color:red;
		opacity:0.5;
		filter:Alpha(opacity=50); /* IE8 以及更早的浏览器 */
		}
</style>
</head>

<body>

<h1>我是h1标签，你能看到我吗？</h1>
<div id="box"></div>

<div id='box2'>本元素的不透明度是 0.5。请注意，文本和背景色都受到不透明级别的影响。</div>

</body>
</html>

			</textarea>
			<p><input type="button" value="运行" class="g-btn g-btn-sure" /></p>
		</div>
	</section>
</section>
<footer id="ft">
	<aside id="rights" class="g-mod">
		<!-- 插入浏览器及版权信息 -->
	</aside>
</footer>
<script src="../../js/jquery.js"></script>
<script src="../../js/inner.js"></script>
</body>
</html>